import request from '@/utils/request'

// 平台消费记录统计
export function postConsume(data) {
  return request({
    url: '/weiriya/statistical/report/consume',
    method: 'post',
    data: data
  })
}

// 平台收入统计
export function postIncome(data) {
  return request({
    url: '/weiriya/statistical/report/income',
    method: 'post',
    data: data
  })
}

// 平台订单数量统计
export function postOrder(data) {
  return request({
    url: '/weiriya/statistical/report/order',
    method: 'post',
    data: data
  })
}

// 平台停车或充电记录数量统计
export function postRecord(data) {
  return request({
    url: '/weiriya/statistical/report/record',
    method: 'post',
    data: data
  })
}